﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CtpTrader.Core.Common
{
    /// <summary>
    /// 账户管理类
    /// </summary>
    public class AccountManager
    {
        public static Account GetRealAccount()
        {
            Account realAccount = new Account();

            realAccount.BrokerCode = "2030";
            realAccount.Purpose = AccountType.Real;
            realAccount.Number = "";
            realAccount.Password = "";

            return realAccount;
        }

        public static Account GetSimulationAccount()
        {
            Account account = new Account();

            account.BrokerCode  = "4030";
            account.Purpose     = AccountType.Simulation;
            account.Number      = "80002863";
            account.Password    = "888888";

            return account;
        }
    }
}
